map=[[0, "*","*"],
     ["*", "*", 1]]
hang=len(map)
lie=len(map[0])
def jie(n):
    dp=[0]*(n+1)
    dp[0]=1
    for i in range(1,n+1):
        dp[i]=i*dp[i-1]
    return dp[n]
lu=jie(hang+lie-2)//(jie(hang-1)*jie(lie-1))
print(lu)